{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}G:\My Drive\ROI\UCDavis\Dissertation\Chapter 2\BJPS\Replication\Stuck_in_the_Middle_log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}24 Apr 2019, 11:18:49
{txt}
{com}. 
. * Replication of Figure 1:
. set more off
{txt}
{com}. clogit cvote dis_lr i.party if cyear==1, group(resp_id)
{res}
{txt}Iteration 0:{space 3}log likelihood = {res: -1966.123}  
Iteration 1:{space 3}log likelihood = {res:-1945.6764}  
Iteration 2:{space 3}log likelihood = {res:-1945.4817}  
Iteration 3:{space 3}log likelihood = {res:-1945.4817}  
{res}
{txt}Conditional (fixed-effects) logistic regression

{col 49}Number of obs{col 67}= {res}     7,410
{txt}{col 49}LR chi2({res}5{txt}){col 67}= {res}    879.41
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-1945.4817{txt}{col 49}Pseudo R2{col 67}= {res}    0.1843

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       cvote{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}dis_lr {c |}{col 14}{res}{space 2}-.4555087{col 26}{space 2}  .025329{col 37}{space 1}  -17.98{col 46}{space 3}0.000{col 54}{space 4}-.5051527{col 67}{space 3}-.4058647
{txt}{space 12} {c |}
{space 7}party {c |}
Major-Right  {c |}{col 14}{res}{space 2} .5517657{col 26}{space 2} .0693891{col 37}{space 1}    7.95{col 46}{space 3}0.000{col 54}{space 4} .4157655{col 67}{space 3} .6877659
{txt}{space 1}Major-Left  {c |}{col 14}{res}{space 2}-.2464762{col 26}{space 2} .0802448{col 37}{space 1}   -3.07{col 46}{space 3}0.002{col 54}{space 4}-.4037532{col 67}{space 3}-.0891992
{txt}{space 1}Other Left  {c |}{col 14}{res}{space 2}-.9503626{col 26}{space 2} .0993591{col 37}{space 1}   -9.56{col 46}{space 3}0.000{col 54}{space 4}-1.145103{col 67}{space 3}-.7556223
{txt}{space 6}Green  {c |}{col 14}{res}{space 2}-1.242697{col 26}{space 2} .1130257{col 37}{space 1}  -10.99{col 46}{space 3}0.000{col 54}{space 4}-1.464223{col 67}{space 3} -1.02117
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store model1_08
{txt}
{com}. clogit cvote dis_lr i.party if cyear==2, group(resp_id)
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-1631.3756}  
Iteration 1:{space 3}log likelihood = {res:-1612.6078}  
Iteration 2:{space 3}log likelihood = {res:-1612.2908}  
Iteration 3:{space 3}log likelihood = {res:-1612.2907}  
{res}
{txt}Conditional (fixed-effects) logistic regression

{col 49}Number of obs{col 67}= {res}     6,490
{txt}{col 49}LR chi2({res}5{txt}){col 67}= {res}    953.52
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-1612.2907{txt}{col 49}Pseudo R2{col 67}= {res}    0.2282

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       cvote{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}dis_lr {c |}{col 14}{res}{space 2}-.4068199{col 26}{space 2} .0249096{col 37}{space 1}  -16.33{col 46}{space 3}0.000{col 54}{space 4}-.4556419{col 67}{space 3}-.3579979
{txt}{space 12} {c |}
{space 7}party {c |}
Major-Right  {c |}{col 14}{res}{space 2}   .75965{col 26}{space 2} .0780131{col 37}{space 1}    9.74{col 46}{space 3}0.000{col 54}{space 4} .6067472{col 67}{space 3} .9125529
{txt}{space 1}Major-Left  {c |}{col 14}{res}{space 2} .3833347{col 26}{space 2} .0791243{col 37}{space 1}    4.84{col 46}{space 3}0.000{col 54}{space 4}  .228254{col 67}{space 3} .5384155
{txt}{space 1}Other Left  {c |}{col 14}{res}{space 2}-1.208257{col 26}{space 2} .1267922{col 37}{space 1}   -9.53{col 46}{space 3}0.000{col 54}{space 4}-1.456765{col 67}{space 3}-.9597488
{txt}{space 6}Green  {c |}{col 14}{res}{space 2}-1.669118{col 26}{space 2} .1567306{col 37}{space 1}  -10.65{col 46}{space 3}0.000{col 54}{space 4}-1.976304{col 67}{space 3}-1.361932
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store model1_11
{txt}
{com}. clogit cvote dis_lr i.party if cyear==3, group(resp_id) 
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-1363.3477}  
Iteration 1:{space 3}log likelihood = {res:-1352.2815}  
Iteration 2:{space 3}log likelihood = {res:-1351.9475}  
Iteration 3:{space 3}log likelihood = {res: -1351.947}  
Iteration 4:{space 3}log likelihood = {res: -1351.947}  
{res}
{txt}Conditional (fixed-effects) logistic regression

{col 49}Number of obs{col 67}= {res}     5,645
{txt}{col 49}LR chi2({res}5{txt}){col 67}= {res}    930.22
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res} -1351.947{txt}{col 49}Pseudo R2{col 67}= {res}    0.2560

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       cvote{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}dis_lr {c |}{col 14}{res}{space 2}-.4298732{col 26}{space 2} .0277749{col 37}{space 1}  -15.48{col 46}{space 3}0.000{col 54}{space 4} -.484311{col 67}{space 3}-.3754355
{txt}{space 12} {c |}
{space 7}party {c |}
Major-Right  {c |}{col 14}{res}{space 2}-.1428589{col 26}{space 2} .0802175{col 37}{space 1}   -1.78{col 46}{space 3}0.075{col 54}{space 4}-.3000823{col 67}{space 3} .0143644
{txt}{space 1}Major-Left  {c |}{col 14}{res}{space 2}-.4896906{col 26}{space 2} .0786474{col 37}{space 1}   -6.23{col 46}{space 3}0.000{col 54}{space 4}-.6438366{col 67}{space 3}-.3355446
{txt}{space 1}Other Left  {c |}{col 14}{res}{space 2}-2.447072{col 26}{space 2} .1669359{col 37}{space 1}  -14.66{col 46}{space 3}0.000{col 54}{space 4} -2.77426{col 67}{space 3}-2.119883
{txt}{space 6}Green  {c |}{col 14}{res}{space 2}-2.081917{col 26}{space 2} .1477648{col 37}{space 1}  -14.09{col 46}{space 3}0.000{col 54}{space 4}-2.371531{col 67}{space 3}-1.792304
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store model1_15
{txt}
{com}. 
. coefplot (model1_08, label(2008) ciopts(recast(rcap) color(gs7)) lcolor(gs7) acolor(gs7)  mcolor(gs7) msymbol(T)) ///
> (model1_11, label(2011) ciopts(recast(rcap) color(black)) lcolor(black) acolor(black)  mcolor(black)) ///
> (model1_15, label(2015) ciopts(recast(rcap) color(gs11)) lcolor(gs11) acolor(gs11)  mcolor(gs11)), grid(no) ///
> graphregion(color(white)) bgcolor(white) xtitle(Log-odd Coefficients) xline(0, lcolor(black) lpattern(dash)) ///
> coeflabels(*dis_lr = "Left-Right" 2.party="Tories' Valence" 3.party="NDP's Valence" 4.party="BQ's Valence" 5.party="Greens' Valence")  ///
> title("Canada", c(black) j(right)) leg(r(1)) graphregion(margin(b+0 l+30 r+0)) xscale(range(-3 3)) xlab(-3.5(.5)3)
{res}{txt}
{com}. graph save Graph "canada1.gph" ,replace 
{txt}(note: file canada1.gph not found)
{res}{txt}(file canada1.gph saved)

{com}. graph export "canada1.png", as(png) replace
{txt}(note: file canada1.png not found)
(file canada1.png written in PNG format)

{com}. 
. * Germany:
. set more off
{txt}
{com}. clogit cvote dis_lr i.party if cyear==4, group(resp_id) or
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-1741.8847}  
Iteration 1:{space 3}log likelihood = {res:-1705.3232}  
Iteration 2:{space 3}log likelihood = {res:-1704.2413}  
Iteration 3:{space 3}log likelihood = {res:-1704.2407}  
Iteration 4:{space 3}log likelihood = {res:-1704.2407}  
{res}
{txt}Conditional (fixed-effects) logistic regression

{col 49}Number of obs{col 67}= {res}     6,980
{txt}{col 49}LR chi2({res}5{txt}){col 67}= {res}   1085.07
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-1704.2407{txt}{col 49}Pseudo R2{col 67}= {res}    0.2415

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       cvote{col 14}{c |} Odds Ratio{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}dis_lr {c |}{col 14}{res}{space 2} .5035753{col 26}{space 2} .0146017{col 37}{space 1}  -23.66{col 46}{space 3}0.000{col 54}{space 4} .4757545{col 67}{space 3} .5330229
{txt}{space 12} {c |}
{space 7}party {c |}
Major-Right  {c |}{col 14}{res}{space 2} 2.738481{col 26}{space 2} .2286966{col 37}{space 1}   12.06{col 46}{space 3}0.000{col 54}{space 4} 2.325005{col 67}{space 3} 3.225488
{txt}{space 1}Major-Left  {c |}{col 14}{res}{space 2} 1.308178{col 26}{space 2} .1255436{col 37}{space 1}    2.80{col 46}{space 3}0.005{col 54}{space 4} 1.083873{col 67}{space 3} 1.578902
{txt}{space 1}Other Left  {c |}{col 14}{res}{space 2} 1.512486{col 26}{space 2} .1756029{col 37}{space 1}    3.56{col 46}{space 3}0.000{col 54}{space 4} 1.204662{col 67}{space 3} 1.898969
{txt}{space 6}Green  {c |}{col 14}{res}{space 2} .6075879{col 26}{space 2} .0696329{col 37}{space 1}   -4.35{col 46}{space 3}0.000{col 54}{space 4} .4853519{col 67}{space 3} .7606091
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store model1_09
{txt}
{com}. clogit cvote dis_lr i.party if cyear==5, group(resp_id) or
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-1659.0557}  
Iteration 1:{space 3}log likelihood = {res:-1624.1081}  
Iteration 2:{space 3}log likelihood = {res:-1621.7945}  
Iteration 3:{space 3}log likelihood = {res:-1621.7834}  
Iteration 4:{space 3}log likelihood = {res:-1621.7834}  
{res}
{txt}Conditional (fixed-effects) logistic regression

{col 49}Number of obs{col 67}= {res}     7,992
{txt}{col 49}LR chi2({res}6{txt}){col 67}= {res}   1529.68
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-1621.7834{txt}{col 49}Pseudo R2{col 67}= {res}    0.3205

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          cvote{col 17}{c |} Odds Ratio{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dis_lr {c |}{col 17}{res}{space 2}    .5587{col 29}{space 2} .0147549{col 40}{space 1}  -22.04{col 49}{space 3}0.000{col 57}{space 4} .5305167{col 70}{space 3} .5883806
{txt}{space 15} {c |}
{space 10}party {c |}
{space 3}Major-Right  {c |}{col 17}{res}{space 2} 16.22874{col 29}{space 2} 2.831736{col 40}{space 1}   15.97{col 49}{space 3}0.000{col 57}{space 4} 11.52814{col 70}{space 3} 22.84599
{txt}{space 4}Major-Left  {c |}{col 17}{res}{space 2} 9.212345{col 29}{space 2} 1.648501{col 40}{space 1}   12.41{col 49}{space 3}0.000{col 57}{space 4} 6.487122{col 70}{space 3} 13.08243
{txt}{space 4}Other Left  {c |}{col 17}{res}{space 2}  5.92785{col 29}{space 2} 1.150983{col 40}{space 1}    9.17{col 49}{space 3}0.000{col 57}{space 4} 4.051571{col 70}{space 3} 8.673033
{txt}{space 9}Green  {c |}{col 17}{res}{space 2} 2.992823{col 29}{space 2} .5795372{col 40}{space 1}    5.66{col 49}{space 3}0.000{col 57}{space 4} 2.047634{col 70}{space 3} 4.374311
{txt}Populist Right  {c |}{col 17}{res}{space 2} 4.633732{col 29}{space 2} 1.028808{col 40}{space 1}    6.91{col 49}{space 3}0.000{col 57}{space 4} 2.998763{col 70}{space 3}  7.16011
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store model1_13
{txt}
{com}. clogit cvote dis_lr i.party if cyear==6, group(resp_id) or
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-2341.7823}  
Iteration 1:{space 3}log likelihood = {res:-2325.9255}  
Iteration 2:{space 3}log likelihood = {res:-2325.8514}  
Iteration 3:{space 3}log likelihood = {res:-2325.8514}  
{res}
{txt}Conditional (fixed-effects) logistic regression

{col 49}Number of obs{col 67}= {res}     9,240
{txt}{col 49}LR chi2({res}6{txt}){col 67}= {res}    866.92
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-2325.8514{txt}{col 49}Pseudo R2{col 67}= {res}    0.1571

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          cvote{col 17}{c |} Odds Ratio{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dis_lr {c |}{col 17}{res}{space 2} .6038835{col 29}{space 2} .0134642{col 40}{space 1}  -22.62{col 49}{space 3}0.000{col 57}{space 4} .5780625{col 70}{space 3} .6308579
{txt}{space 15} {c |}
{space 10}party {c |}
{space 3}Major-Right  {c |}{col 17}{res}{space 2} 2.568175{col 29}{space 2} .2215763{col 40}{space 1}   10.93{col 49}{space 3}0.000{col 57}{space 4} 2.168627{col 70}{space 3} 3.041335
{txt}{space 4}Major-Left  {c |}{col 17}{res}{space 2} 1.729819{col 29}{space 2} .1622531{col 40}{space 1}    5.84{col 49}{space 3}0.000{col 57}{space 4} 1.439328{col 70}{space 3} 2.078937
{txt}{space 4}Other Left  {c |}{col 17}{res}{space 2} 1.398414{col 29}{space 2} .1566853{col 40}{space 1}    2.99{col 49}{space 3}0.003{col 57}{space 4} 1.122698{col 70}{space 3} 1.741842
{txt}{space 9}Green  {c |}{col 17}{res}{space 2} 1.198678{col 29}{space 2} .1220835{col 40}{space 1}    1.78{col 49}{space 3}0.075{col 57}{space 4}  .981768{col 70}{space 3} 1.463511
{txt}Populist Right  {c |}{col 17}{res}{space 2} 2.597803{col 29}{space 2} .3206572{col 40}{space 1}    7.73{col 49}{space 3}0.000{col 57}{space 4} 2.039571{col 70}{space 3} 3.308822
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store model1_17
{txt}
{com}. 
. coefplot (model1_09, label(2009) ciopts(recast(rcap) color(gs7)) lcolor(gs7) acolor(gs7)  mcolor(gs7) msymbol(T)) ///
> (model1_13, label(2013) ciopts(recast(rcap) color(black)) lcolor(black) acolor(black)  mcolor(black)) ///
> (model1_17, label(2017) ciopts(recast(rcap) color(gs11)) lcolor(gs11) acolor(gs11)  mcolor(gs11)), ///
> graphregion(color(white)) bgcolor(white) xtitle(Log-odd Coefficients) xline(0, lcolor(black) lpattern(dash)) grid(no) ///
> coeflabels(*dis_lr = "Left-Right" 2.party="CDU's Valence" 3.party="SPD's Valence" 4.party="Left's Valence" 5.party="Green's Valence" 6.party="AfD's Valence")  ///
> title("Germany", c(black) j(left)) leg(r(1)) graphregion(margin(b+0 l+30 r+0)) xscale(range(-3 3)) xlab(-3.5(.5)3)
{res}{txt}
{com}. graph save Graph "germany1.gph" ,replace 
{txt}(note: file germany1.gph not found)
{res}{txt}(file germany1.gph saved)

{com}. graph export "germany1.png", as(png) replace
{txt}(note: file germany1.png not found)
(file germany1.png written in PNG format)

{com}. 
. * UK:
. set more off
{txt}
{com}. clogit cvote dis_lr i.party if cyear==7, group(resp_id) or
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-761.69172}  
Iteration 1:{space 3}log likelihood = {res:-752.44153}  
Iteration 2:{space 3}log likelihood = {res: -751.6086}  
Iteration 3:{space 3}log likelihood = {res:-751.60763}  
Iteration 4:{space 3}log likelihood = {res:-751.60763}  
{res}
{txt}Conditional (fixed-effects) logistic regression

{col 49}Number of obs{col 67}= {res}     4,236
{txt}{col 49}LR chi2({res}6{txt}){col 67}= {res}   1026.75
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-751.60763{txt}{col 49}Pseudo R2{col 67}= {res}    0.4058

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          cvote{col 17}{c |} Odds Ratio{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dis_lr {c |}{col 17}{res}{space 2} .5532397{col 29}{space 2} .0206773{col 40}{space 1}  -15.84{col 49}{space 3}0.000{col 57}{space 4} .5141617{col 70}{space 3} .5952877
{txt}{space 15} {c |}
{space 10}party {c |}
{space 3}Major-Right  {c |}{col 17}{res}{space 2} 1.492795{col 29}{space 2} .1654426{col 40}{space 1}    3.62{col 49}{space 3}0.000{col 57}{space 4} 1.201333{col 70}{space 3} 1.854969
{txt}{space 4}Major-Left  {c |}{col 17}{res}{space 2} .9762127{col 29}{space 2} .1007894{col 40}{space 1}   -0.23{col 49}{space 3}0.816{col 57}{space 4} .7973735{col 70}{space 3} 1.195163
{txt}{space 4}Other Left  {c |}{col 17}{res}{space 2} .0490501{col 29}{space 2} .0158945{col 40}{space 1}   -9.30{col 49}{space 3}0.000{col 57}{space 4} .0259902{col 70}{space 3} .0925697
{txt}{space 9}Green  {c |}{col 17}{res}{space 2} .0331996{col 29}{space 2} .0128119{col 40}{space 1}   -8.82{col 49}{space 3}0.000{col 57}{space 4} .0155829{col 70}{space 3} .0707321
{txt}Populist Right  {c |}{col 17}{res}{space 2} .1447211{col 29}{space 2} .0309644{col 40}{space 1}   -9.03{col 49}{space 3}0.000{col 57}{space 4} .0951502{col 70}{space 3} .2201174
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store model1_10
{txt}
{com}. clogit cvote dis_lr i.party if cyear==8, group(resp_id) or
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-2396.6095}  
Iteration 1:{space 3}log likelihood = {res:-2342.9372}  
Iteration 2:{space 3}log likelihood = {res:-2340.5356}  
Iteration 3:{space 3}log likelihood = {res:-2340.5334}  
Iteration 4:{space 3}log likelihood = {res:-2340.5334}  
{res}
{txt}Conditional (fixed-effects) logistic regression

{col 49}Number of obs{col 67}= {res}    11,154
{txt}{col 49}LR chi2({res}6{txt}){col 67}= {res}   1980.69
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-2340.5334{txt}{col 49}Pseudo R2{col 67}= {res}    0.2973

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          cvote{col 17}{c |} Odds Ratio{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dis_lr {c |}{col 17}{res}{space 2} .6033623{col 29}{space 2} .0144066{col 40}{space 1}  -21.16{col 49}{space 3}0.000{col 57}{space 4} .5757765{col 70}{space 3} .6322698
{txt}{space 15} {c |}
{space 10}party {c |}
{space 3}Major-Right  {c |}{col 17}{res}{space 2} 9.630345{col 29}{space 2}  .955156{col 40}{space 1}   22.84{col 49}{space 3}0.000{col 57}{space 4} 7.928994{col 70}{space 3} 11.69676
{txt}{space 4}Major-Left  {c |}{col 17}{res}{space 2} 5.129886{col 29}{space 2} .4837751{col 40}{space 1}   17.34{col 49}{space 3}0.000{col 57}{space 4} 4.264175{col 70}{space 3} 6.171354
{txt}{space 4}Other Left  {c |}{col 17}{res}{space 2} .6351969{col 29}{space 2} .0858972{col 40}{space 1}   -3.36{col 49}{space 3}0.001{col 57}{space 4} .4873052{col 70}{space 3} .8279721
{txt}{space 9}Green  {c |}{col 17}{res}{space 2}  .497631{col 29}{space 2} .0778919{col 40}{space 1}   -4.46{col 49}{space 3}0.000{col 57}{space 4} .3661616{col 70}{space 3} .6763043
{txt}Populist Right  {c |}{col 17}{res}{space 2} 2.053105{col 29}{space 2} .2315497{col 40}{space 1}    6.38{col 49}{space 3}0.000{col 57}{space 4} 1.645934{col 70}{space 3} 2.561002
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store model1_15
{txt}
{com}. clogit cvote dis_lr i.party if cyear==9, group(resp_id) or
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-1566.9692}  
Iteration 1:{space 3}log likelihood = {res:-1520.2664}  
Iteration 2:{space 3}log likelihood = {res:-1463.2826}  
Iteration 3:{space 3}log likelihood = {res:-1462.9634}  
Iteration 4:{space 3}log likelihood = {res:-1462.9632}  
Iteration 5:{space 3}log likelihood = {res:-1462.9632}  
{res}
{txt}Conditional (fixed-effects) logistic regression

{col 49}Number of obs{col 67}= {res}     9,078
{txt}{col 49}LR chi2({res}6{txt}){col 67}= {res}   2495.94
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-1462.9632{txt}{col 49}Pseudo R2{col 67}= {res}    0.4603

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          cvote{col 17}{c |} Odds Ratio{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dis_lr {c |}{col 17}{res}{space 2} .6057262{col 29}{space 2} .0146046{col 40}{space 1}  -20.79{col 49}{space 3}0.000{col 57}{space 4} .5777676{col 70}{space 3} .6350377
{txt}{space 15} {c |}
{space 10}party {c |}
{space 3}Major-Right  {c |}{col 17}{res}{space 2} 8.309233{col 29}{space 2} .9033185{col 40}{space 1}   19.48{col 49}{space 3}0.000{col 57}{space 4} 6.714668{col 70}{space 3} 10.28247
{txt}{space 4}Major-Left  {c |}{col 17}{res}{space 2} 8.600012{col 29}{space 2}  .908539{col 40}{space 1}   20.37{col 49}{space 3}0.000{col 57}{space 4} 6.991571{col 70}{space 3} 10.57848
{txt}{space 4}Other Left  {c |}{col 17}{res}{space 2} .4100605{col 29}{space 2} .0717188{col 40}{space 1}   -5.10{col 49}{space 3}0.000{col 57}{space 4} .2910546{col 70}{space 3} .5777253
{txt}{space 9}Green  {c |}{col 17}{res}{space 2} .3302758{col 29}{space 2} .0691101{col 40}{space 1}   -5.29{col 49}{space 3}0.000{col 57}{space 4} .2191609{col 70}{space 3} .4977261
{txt}Populist Right  {c |}{col 17}{res}{space 2} .3727245{col 29}{space 2} .0755238{col 40}{space 1}   -4.87{col 49}{space 3}0.000{col 57}{space 4} .2505602{col 70}{space 3} .5544518
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store model1_17
{txt}
{com}. 
. coefplot (model1_10, label(2010) ciopts(recast(rcap) color(gs8)) lcolor(gs8) acolor(gs8)  mcolor(gs8) msymbol(T)) ///
> (model1_15, label(2015) ciopts(recast(rcap) color(black)) lcolor(black) acolor(black)  mcolor(black)) ///
> (model1_17, label(2017) ciopts(recast(rcap) color(gs10)) lcolor(gs10) acolor(gs10)  mcolor(gs10)), ///
> graphregion(color(white)) bgcolor(white) xtitle(Log-odd Coefficients) xline(0, lcolor(black) lpattern(dash)) grid(no) ///
> coeflabels(*dis_lr = "Left-Right" 2.party="Tories' Valence" 3.party="Labour's Valence" 4.party="SNP's Valence" 5.party="Green's Valence" 6.party="UKIP's Valence")  ///
> title("United Kingdom", c(black) j(right)) leg(r(1)) graphregion(margin(b+0 l+30 r+0)) xscale(range(-3 3)) xlab(-4.5(.5)3)
{res}{txt}
{com}. graph save Graph "UK1.gph" ,replace 
{txt}(note: file UK1.gph not found)
{res}{txt}(file UK1.gph saved)

{com}. graph export "UK1.png", as(png) replace
{txt}(note: file UK1.png not found)
(file UK1.png written in PNG format)

{com}. 
. * Finland:
. set more off
{txt}
{com}. 
. clogit cvote dis_lr i.party if cyear==10, group(resp_id) or
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-1790.6099}  
Iteration 1:{space 3}log likelihood = {res:-1781.2783}  
Iteration 2:{space 3}log likelihood = {res:-1781.1977}  
Iteration 3:{space 3}log likelihood = {res:-1781.1977}  
{res}
{txt}Conditional (fixed-effects) logistic regression

{col 49}Number of obs{col 67}= {res}     8,408
{txt}{col 49}LR chi2({res}8{txt}){col 67}= {res}    808.59
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-1781.1977{txt}{col 49}Pseudo R2{col 67}= {res}    0.1850

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          cvote{col 17}{c |} Odds Ratio{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dis_lr {c |}{col 17}{res}{space 2} .5759944{col 29}{space 2} .0161129{col 40}{space 1}  -19.72{col 49}{space 3}0.000{col 57}{space 4} .5452639{col 70}{space 3} .6084569
{txt}{space 15} {c |}
{space 10}party {c |}
{space 3}Major-Right  {c |}{col 17}{res}{space 2} 1.022992{col 29}{space 2} .1077452{col 40}{space 1}    0.22{col 49}{space 3}0.829{col 57}{space 4}  .832186{col 70}{space 3} 1.257546
{txt}{space 4}Major-Left  {c |}{col 17}{res}{space 2} 1.102448{col 29}{space 2}   .11632{col 40}{space 1}    0.92{col 49}{space 3}0.355{col 57}{space 4} .8964937{col 70}{space 3} 1.355717
{txt}{space 4}Other Left  {c |}{col 17}{res}{space 2} .5648659{col 29}{space 2} .0864373{col 40}{space 1}   -3.73{col 49}{space 3}0.000{col 57}{space 4}  .418497{col 70}{space 3} .7624274
{txt}{space 9}Green  {c |}{col 17}{res}{space 2} .4474537{col 29}{space 2} .0574128{col 40}{space 1}   -6.27{col 49}{space 3}0.000{col 57}{space 4} .3479609{col 70}{space 3} .5753946
{txt}Populist Right  {c |}{col 17}{res}{space 2} .1478154{col 29}{space 2} .0285607{col 40}{space 1}   -9.89{col 49}{space 3}0.000{col 57}{space 4} .1012166{col 70}{space 3} .2158677
{txt}{space 9}Other  {c |}{col 17}{res}{space 2} .2843354{col 29}{space 2} .0421035{col 40}{space 1}   -8.49{col 49}{space 3}0.000{col 57}{space 4}   .21271{col 70}{space 3} .3800792
{txt}{space 9}Other  {c |}{col 17}{res}{space 2} .9308425{col 29}{space 2} .0942823{col 40}{space 1}   -0.71{col 49}{space 3}0.479{col 57}{space 4} .7632389{col 70}{space 3} 1.135251
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store model1_07
{txt}
{com}. clogit cvote dis_lr i.party if cyear==11, group(resp_id) or
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-1695.9398}  
Iteration 1:{space 3}log likelihood = {res:-1683.9843}  
Iteration 2:{space 3}log likelihood = {res:-1683.8899}  
Iteration 3:{space 3}log likelihood = {res:-1683.8899}  
{res}
{txt}Conditional (fixed-effects) logistic regression

{col 49}Number of obs{col 67}= {res}     7,808
{txt}{col 49}LR chi2({res}8{txt}){col 67}= {res}    691.29
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-1683.8899{txt}{col 49}Pseudo R2{col 67}= {res}    0.1703

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          cvote{col 17}{c |} Odds Ratio{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dis_lr {c |}{col 17}{res}{space 2} .5719383{col 29}{space 2} .0165321{col 40}{space 1}  -19.33{col 49}{space 3}0.000{col 57}{space 4} .5404367{col 70}{space 3}  .605276
{txt}{space 15} {c |}
{space 10}party {c |}
{space 3}Major-Right  {c |}{col 17}{res}{space 2} 1.500661{col 29}{space 2} .1830347{col 40}{space 1}    3.33{col 49}{space 3}0.001{col 57}{space 4} 1.181577{col 70}{space 3} 1.905913
{txt}{space 4}Major-Left  {c |}{col 17}{res}{space 2} 1.610242{col 29}{space 2} .1883596{col 40}{space 1}    4.07{col 49}{space 3}0.000{col 57}{space 4} 1.280328{col 70}{space 3} 2.025169
{txt}{space 4}Other Left  {c |}{col 17}{res}{space 2} .7778795{col 29}{space 2}   .12192{col 40}{space 1}   -1.60{col 49}{space 3}0.109{col 57}{space 4} .5721373{col 70}{space 3} 1.057607
{txt}{space 9}Green  {c |}{col 17}{res}{space 2} .6676382{col 29}{space 2} .0929123{col 40}{space 1}   -2.90{col 49}{space 3}0.004{col 57}{space 4} .5082567{col 70}{space 3} .8769992
{txt}Populist Right  {c |}{col 17}{res}{space 2} 1.271977{col 29}{space 2} .1490343{col 40}{space 1}    2.05{col 49}{space 3}0.040{col 57}{space 4} 1.010988{col 70}{space 3}  1.60034
{txt}{space 9}Other  {c |}{col 17}{res}{space 2} .2867254{col 29}{space 2} .0528775{col 40}{space 1}   -6.77{col 49}{space 3}0.000{col 57}{space 4} .1997509{col 70}{space 3}   .41157
{txt}{space 9}Other  {c |}{col 17}{res}{space 2} .5517202{col 29}{space 2}  .081233{col 40}{space 1}   -4.04{col 49}{space 3}0.000{col 57}{space 4} .4134201{col 70}{space 3} .7362855
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store model1_11
{txt}
{com}. clogit cvote dis_lr i.party if cyear==12, group(resp_id) or
{res}
{txt}Iteration 0:{space 3}log likelihood = {res:-1828.6354}  
Iteration 1:{space 3}log likelihood = {res:-1815.0936}  
Iteration 2:{space 3}log likelihood = {res:-1814.8127}  
Iteration 3:{space 3}log likelihood = {res:-1814.8125}  
Iteration 4:{space 3}log likelihood = {res:-1814.8125}  
{res}
{txt}Conditional (fixed-effects) logistic regression

{col 49}Number of obs{col 67}= {res}     8,720
{txt}{col 49}LR chi2({res}8{txt}){col 67}= {res}    903.56
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-1814.8125{txt}{col 49}Pseudo R2{col 67}= {res}    0.1993

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          cvote{col 17}{c |} Odds Ratio{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}dis_lr {c |}{col 17}{res}{space 2} .5180419{col 29}{space 2} .0166821{col 40}{space 1}  -20.42{col 49}{space 3}0.000{col 57}{space 4}  .486356{col 70}{space 3} .5517922
{txt}{space 15} {c |}
{space 10}party {c |}
{space 3}Major-Right  {c |}{col 17}{res}{space 2} .6865154{col 29}{space 2} .0712914{col 40}{space 1}   -3.62{col 49}{space 3}0.000{col 57}{space 4}  .560089{col 70}{space 3} .8414795
{txt}{space 4}Major-Left  {c |}{col 17}{res}{space 2} .7293615{col 29}{space 2}  .075336{col 40}{space 1}   -3.06{col 49}{space 3}0.002{col 57}{space 4} .5956922{col 70}{space 3} .8930253
{txt}{space 4}Other Left  {c |}{col 17}{res}{space 2} .3869186{col 29}{space 2} .0582124{col 40}{space 1}   -6.31{col 49}{space 3}0.000{col 57}{space 4}  .288108{col 70}{space 3} .5196176
{txt}{space 9}Green  {c |}{col 17}{res}{space 2} .3896569{col 29}{space 2} .0466003{col 40}{space 1}   -7.88{col 49}{space 3}0.000{col 57}{space 4} .3082367{col 70}{space 3}  .492584
{txt}Populist Right  {c |}{col 17}{res}{space 2} .7000663{col 29}{space 2} .0676496{col 40}{space 1}   -3.69{col 49}{space 3}0.000{col 57}{space 4} .5792752{col 70}{space 3} .8460449
{txt}{space 9}Other  {c |}{col 17}{res}{space 2} .2029049{col 29}{space 2} .0305836{col 40}{space 1}  -10.58{col 49}{space 3}0.000{col 57}{space 4} .1510053{col 70}{space 3} .2726421
{txt}{space 9}Other  {c |}{col 17}{res}{space 2}  .124764{col 29}{space 2}  .023074{col 40}{space 1}  -11.25{col 49}{space 3}0.000{col 57}{space 4} .0868295{col 70}{space 3} .1792718
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. estimate store model1_15
{txt}
{com}. 
. coefplot (model1_07, label(2007) ciopts(recast(rcap) color(gs8)) lcolor(gs8) acolor(gs8)  mcolor(gs8) msymbol(T)) ///
> (model1_11, label(2011) ciopts(recast(rcap) color(black)) lcolor(black) acolor(black)  mcolor(black)) /// 
> (model1_15, label(2015) ciopts(recast(rcap) color(gs10)) lcolor(gs10) acolor(gs10)  mcolor(gs10)), ///
> graphregion(color(white)) bgcolor(white) xtitle(Log-odd Coefficients) xline(0, lcolor(black) lpattern(dash)) grid(no) ///
> coeflabels(*dis_lr = "Left-Right" 2.party="KOK's Valence" 3.party="SDP's Valence" 4.party="VAS's Valence" 5.party="Green's Valence" ///
> 6.party="PS's Valence") drop(7.party 8.party)  ///
> title("Finland", c(black) j(left)) leg(r(1)) graphregion(margin(b+1 l+25 r+1)) xscale(range(-3 1)) xlab(-3.5(.5)1)
{res}{txt}
{com}. graph save Graph "finland1.gph" ,replace 
{txt}(note: file finland1.gph not found)
{res}{txt}(file finland1.gph saved)

{com}. graph export "finalnd1.png", as(png) replace
{txt}(note: file finalnd1.png not found)
(file finalnd1.png written in PNG format)

{com}. 
. * Combine figures to create Figure 1
. graph combine "germany1.gph" ///
> "UK1.gph" ///
> "finland1.gph" ///
> "canada1.gph", ///
> col(2) comm altshrink graphregion(color(white)) 
{res}{txt}
{com}. graph save Graph "Figure_1.gph" ,replace 
{txt}(note: file Figure_1.gph not found)
{res}{txt}(file Figure_1.gph saved)

{com}. graph export "Figure_l.png", as(png) replace
{txt}(note: file Figure_l.png not found)
(file Figure_l.png written in PNG format)

{com}. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}G:\My Drive\ROI\UCDavis\Dissertation\Chapter 2\BJPS\Replication\Stuck_in_the_Middle_log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}24 Apr 2019, 11:19:27
{txt}{.-}
{smcl}
{txt}{sf}{ul off}